package main

import "fmt"

func main() {
	brewTime, info := estimateBrewTime(12, 20)
	fmt.Println(info, brewTime)
}

// func estimateBrewTime(cupsQty int, secondsPerCup int) int {
// 	totalTimeSeconds := cupsQty * secondsPerCup
// 	return totalTimeSeconds
// }

// func estimateBrewTime(cupsQty int, secondsPerCup int) (totalTimeSeconds int) {
// 	totalTimeSeconds = cupsQty * secondsPerCup
// 	return totalTimeSeconds
// }

func estimateBrewTime(cupsQty int, secondsPerCup int) (totalTimeSeconds int, info string) {
	totalTimeSeconds = cupsQty * secondsPerCup
	info = "Coffee brew time"
	return // naked return
}

// func estimateBrewTime(cupsQty int, secondsPerCup int) (totalSeconds int) {
// 	totalTimeSeconds := cupsQty * secondsPerCup
// 	return totalTimeSeconds
// }
